package com.chixing.day03_oop;

public class Phone {
    //属性
    //方法
    private int PhoneId;
    private String PhoneName;
    private int PhonePrice;
    private String PhoneType;
    private String PhoneColor;

    public Phone(){
        System.out.println();

    }

    public Phone(int id,String name,int price,String type,String color){
        this.PhoneId=id;
        this.PhoneName=name;
        this.PhonePrice=price;
        this.PhoneType=type;
        this.PhoneColor=color;
        System.out.println(id + "," +name + "," +price + "," +type+"," + color);

    }

    public int getPhoneId() {
        return PhoneId;
    }

    public void setPhoneId(int phoneId) {
        PhoneId = phoneId;
    }

    public String getPhoneName() {
        return PhoneName;
    }

    public void setPhoneName(String phoneName) {
        PhoneName = phoneName;
    }

    public int getPhonePrice() {
        return PhonePrice;
    }

    public void setPhonePrice(int phonePrice) {
        PhonePrice = phonePrice;
    }

    public String getPhoneType() {
        return PhoneType;
    }

    public void setPhoneType(String phoneType) {
        PhoneType = phoneType;
    }

    public String getPhoneColor() {
        return PhoneColor;
    }

    public void setPhoneColor(String phoneColor) {
        PhoneColor = phoneColor;
    }
}
